package com.xpsoft.oa.model.project;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;

/**
 * ProjectReceiveInfo Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class ProjectReceiveInfo extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected ProjectReceive projectReceive;
	@Expose
	protected java.util.Date billDate;
	@Expose
	protected java.math.BigDecimal billAmount;
	@Expose
	protected java.util.Date receiveDate;
	@Expose
	protected java.math.BigDecimal receiveAmount;
	@Expose
	protected java.math.BigDecimal leftAmount;
	@Expose
	protected AppUser operator;
	@Expose
	protected String remark;


	/**
	 * Default Empty Constructor for class ProjectReceiveInfo
	 */
	public ProjectReceiveInfo () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ProjectReceiveInfo
	 */
	public ProjectReceiveInfo (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public ProjectReceive getProjectReceive() {
		return projectReceive;
	}

	public void setProjectReceive(ProjectReceive projectReceive) {
		this.projectReceive = projectReceive;
	}

	/**
	 * 开票日期	 * @return java.util.Date
	 * @hibernate.property column="billDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getBillDate() {
		return this.billDate;
	}
	
	/**
	 * Set the billDate
	 */	
	public void setBillDate(java.util.Date aValue) {
		this.billDate = aValue;
	}	

	/**
	 * 开票金额	 * @return java.math.BigDecimal
	 * @hibernate.property column="billAmount" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getBillAmount() {
		return this.billAmount;
	}
	
	/**
	 * Set the billAmount
	 */	
	public void setBillAmount(java.math.BigDecimal aValue) {
		this.billAmount = aValue;
	}	

	/**
	 * 到款日期	 * @return java.util.Date
	 * @hibernate.property column="receiveDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getReceiveDate() {
		return this.receiveDate;
	}
	
	/**
	 * Set the receiveDate
	 */	
	public void setReceiveDate(java.util.Date aValue) {
		this.receiveDate = aValue;
	}	

	/**
	 * 到款金额	 * @return java.math.BigDecimal
	 * @hibernate.property column="receiveAmount" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getReceiveAmount() {
		return this.receiveAmount;
	}
	
	/**
	 * Set the receiveAmount
	 */	
	public void setReceiveAmount(java.math.BigDecimal aValue) {
		this.receiveAmount = aValue;
	}	

	/**
	 * 剩余应收款	 * @return java.math.BigDecimal
	 * @hibernate.property column="leftAmount" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getLeftAmount() {
		return this.leftAmount;
	}
	
	/**
	 * Set the leftAmount
	 */	
	public void setLeftAmount(java.math.BigDecimal aValue) {
		this.leftAmount = aValue;
	}	


	public AppUser getOperator() {
		return operator;
	}

	public void setOperator(AppUser operator) {
		this.operator = operator;
	}

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	

}
